package com.openatc.agent.service.arterial.exception;

/**
 * @author ：panleilei
 * @description
 * @modified By：
 * @version:
 * @date ：Created in 2024/1/23 15:32
 */
public class KeyAgentIDException extends RuntimeException {
    /**
     * 路口id
     */
    private String intersectionId;

    /**
     * @param intersectionId 路口id
     */
    public KeyAgentIDException(String intersectionId) {
        super(String.valueOf(intersectionId));
        this.intersectionId = intersectionId;
    }

    /**
     *
     * @return
     */
     public String getCycle() {
          return intersectionId;
     }
}
